package com.rkc.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author `RKC`
 * @date 2021/11/7 16:40
 */
@Data
@ApiModel(value = "商品锁定对象", description = "商品锁对象协议")
public class LockProductRequest {

    @JsonProperty("order_out_trade_no")
    @ApiModelProperty(value = "订单id", example = "121rfasdf2")
    private String orderOutTradeNo;

    @JsonProperty("order_item_list")
    @ApiModelProperty(value = "订单项")
    private List<OrderItemRequest> orderItemList;
}
